// app.ts
App<IAppOption>({
  globalData: {
    gName: "全局小明",
  },
  age: 22,
  onLaunch() {
    console.log("onLaunch 初始化");
  },
  onShow() {
    console.log("onShow 显示了");
  },
  onHide() {
    console.log("onHide 隐藏了");
  },
});
